

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>Display Item Properties [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Display,Display Element Properties, Shape Scripts,Display Connector Properties, Shape Scripts,Element,Element Shape Script Properties,Substitution,Substitution Macro,Shape Scripts,Shape Scripts Display Element Properties,Shape Scripts Properties, Element,Shape Scripts Properties, Connector,Connector,Connector Shape Script Properties">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">Display Element/Connector Properties</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="query_methods.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="sub_shapes.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">The commands </span><span class="f_BodyText" style="font-weight: bold;">print</span><span class="f_BodyText">, </span><span class="f_BodyText" style="font-weight: bold;">println</span><span class="f_BodyText">, and </span><span class="f_BodyText" style="font-weight: bold;">printwrapped</span><span class="f_BodyText"> all take a string parameter representing the text to be printed. Element and connector properties can be added to the text using the substitution macro </span><span class="f_BodyText" style="font-style: italic;">#propertyname#</span><span class="f_BodyText">.</span></p>
<p class="p_BodyText"><span class="f_BodyText">For example: </span><span class="f_BodyText" style="font-style: italic;">println(&quot;name: #NAME#&quot;);</span></p>
<p class="p_BodyText"><span class="f_BodyText">In addition to the properties listed below, Tagged Values can also be displayed by prefixing the Tagged Value name with </span><span class="f_BodyText" style="font-weight: bold;">TAG:</span><span class="f_BodyText">.</span></p>
<p class="p_BodyText"><span class="f_BodyText">For example: </span><span class="f_BodyText" style="font-style: italic;">print(&quot;#TAG:condition#&quot;);</span></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Properties Visible to Shape Scripts</span></p>
<p class="p_SubHeadingL2"><span class="f_SubHeadingL2">Properties for Element Shape Scripts</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">alias</span></li>
<li><span class="f_Bulletlist1">author</span></li>
<li><span class="f_Bulletlist1">cardinality</span></li>
<li><span class="f_Bulletlist1">classifier</span></li>
<li><span class="f_Bulletlist1">classifier.alias</span></li>
<li><span class="f_Bulletlist1">classifier.metatype</span></li>
<li><span class="f_Bulletlist1">classifier.name</span></li>
<li><span class="f_Bulletlist1">classifier.stereotype</span></li>
<li><span class="f_Bulletlist1">complexity</span></li>
<li><span class="f_Bulletlist1">concurrency</span></li>
<li><span class="f_Bulletlist1">datecreated</span></li>
<li><span class="f_Bulletlist1">datemodified</span></li>
<li><span class="f_Bulletlist1">diagram.mdgtype</span></li>
<li><span class="f_Bulletlist1">diagram.name</span></li>
<li><span class="f_Bulletlist1">diagram.stereotype</span></li>
<li><span class="f_Bulletlist1">diagram.type</span></li>
<li><span class="f_Bulletlist1">haslinkeddocument</span></li>
<li><span class="f_Bulletlist1">isabstract</span></li>
<li><span class="f_Bulletlist1">isactive</span></li>
<li><span class="f_Bulletlist1">iscomposite</span></li>
<li><span class="f_Bulletlist1">isembedded</span></li>
<li><span class="f_Bulletlist1">isinparent</span></li>
<li><span class="f_Bulletlist1">isleaf</span></li>
<li><span class="f_Bulletlist1">islocked</span></li>
<li><span class="f_Bulletlist1">isroot</span></li>
<li><span class="f_Bulletlist1">isspec</span></li>
<li><span class="f_Bulletlist1">istagged</span></li>
<li><span class="f_Bulletlist1">keywords</span></li>
<li><span class="f_Bulletlist1">language</span></li>
<li><span class="f_Bulletlist1">metatype</span></li>
<li><span class="f_Bulletlist1">multiplicity</span></li>
<li><span class="f_Bulletlist1">name</span></li>
<li><span class="f_Bulletlist1">notes</span></li>
<li><span class="f_Bulletlist1">packagename</span></li>
<li><span class="f_Bulletlist1">parentedge</span></li>
<li><span class="f_Bulletlist1">parent.metatype</span></li>
<li><span class="f_Bulletlist1">persistence</span></li>
<li><span class="f_Bulletlist1">phase</span></li>
<li><span class="f_Bulletlist1">propertytype</span></li>
<li><span class="f_Bulletlist1">propertytype.alias</span></li>
<li><span class="f_Bulletlist1">propertytype.metatype</span></li>
<li><span class="f_Bulletlist1">propertytype.name</span></li>
<li><span class="f_Bulletlist1">propertytype.stereotype</span></li>
<li><span class="f_Bulletlist1">scope</span></li>
<li><span class="f_Bulletlist1">status</span></li>
<li><span class="f_Bulletlist1">stereotype</span></li>
<li><span class="f_Bulletlist1">type</span></li>
<li><span class="f_Bulletlist1">version</span></li>
<li><span class="f_Bulletlist1">visibility.</span></li>
</ul>
<p class="p_SubHeadingL2"><span class="f_SubHeadingL2">Properties for Connector Shape Scripts</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">alias</span></li>
<li><span class="f_Bulletlist1">diagram.connectornotation</span></li>
<li><span class="f_Bulletlist1">diagram.mdgtype </span></li>
<li><span class="f_Bulletlist1">diagram.name</span></li>
</ul>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">diagram.stereotype</span></li>
<li><span class="f_Bulletlist1">diagram.type</span></li>
<li><span class="f_Bulletlist1">direction</span></li>
</ul>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">isroot</span></li>
<li><span class="f_Bulletlist1">isleaf</span></li>
<li><span class="f_Bulletlist1">name</span></li>
<li><span class="f_Bulletlist1">notes</span></li>
<li><span class="f_Bulletlist1">source.aggregation</span></li>
<li><span class="f_Bulletlist1">source.alias</span></li>
<li><span class="f_Bulletlist1">source.changeable</span></li>
<li><span class="f_Bulletlist1">source.constraints</span></li>
<li><span class="f_Bulletlist1">source.element.name</span></li>
<li><span class="f_Bulletlist1">source.element.stereotype</span></li>
<li><span class="f_Bulletlist1">source.metatype</span></li>
<li><span class="f_Bulletlist1">source.multiplicity</span></li>
<li><span class="f_Bulletlist1">source.multiplicityisordered</span></li>
<li><span class="f_Bulletlist1">source.qualifiers</span></li>
<li><span class="f_Bulletlist1">source.stereotype</span></li>
<li><span class="f_Bulletlist1">source.targetscope</span></li>
<li><span class="f_Bulletlist1">stereotype</span></li>
<li><span class="f_Bulletlist1">subtype</span></li>
<li><span class="f_Bulletlist1">target.aggregation</span></li>
<li><span class="f_Bulletlist1">target.alias</span></li>
<li><span class="f_Bulletlist1">target.changable </span></li>
<li><span class="f_Bulletlist1">target.constraints</span></li>
<li><span class="f_Bulletlist1">target.element.name</span></li>
<li><span class="f_Bulletlist1">target.element.stereotype</span></li>
<li><span class="f_Bulletlist1">target.metatype</span></li>
<li><span class="f_Bulletlist1">target.multiplicity</span></li>
<li><span class="f_Bulletlist1">target.multiplicityisordered</span></li>
<li><span class="f_Bulletlist1">target.qualifiers</span></li>
<li><span class="f_Bulletlist1">target.stereotype</span></li>
<li><span class="f_Bulletlist1">target.targetscope</span></li>
<li><span class="f_Bulletlist1">type.</span></li>
</ul>




            </div>
          </div>
        </div>



</div>


</body>
</html>
